package sanshui.system.trade.db.entity;

import java.io.Serializable;

public class TradeRiskConf implements Serializable {
    private Long riskId;

    private Long workerId;

    private String targetCode;

    private String confCode;

    private String confJson;

    private static final long serialVersionUID = 1L;

    public Long getRiskId() {
        return riskId;
    }

    public void setRiskId(Long riskId) {
        this.riskId = riskId;
    }

    public Long getWorkerId() {
        return workerId;
    }

    public void setWorkerId(Long workerId) {
        this.workerId = workerId;
    }

    public String getTargetCode() {
        return targetCode;
    }

    public void setTargetCode(String targetCode) {
        this.targetCode = targetCode == null ? null : targetCode.trim();
    }

    public String getConfCode() {
        return confCode;
    }

    public void setConfCode(String confCode) {
        this.confCode = confCode == null ? null : confCode.trim();
    }

    public String getConfJson() {
        return confJson;
    }

    public void setConfJson(String confJson) {
        this.confJson = confJson == null ? null : confJson.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", riskId=").append(riskId);
        sb.append(", workerId=").append(workerId);
        sb.append(", targetCode=").append(targetCode);
        sb.append(", confCode=").append(confCode);
        sb.append(", confJson=").append(confJson);
        sb.append("]");
        return sb.toString();
    }
}